Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Exposing underlying Image properties on Avatar via _image #4592

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kav
Copy link

@kav kav commented Jan 30, 2022

Summary

I have several use cases where I need to modify properties on the Avatars underlying image. This change adds _image to the avatar in a similar fashion to other cases e.g. _text

Changelog

[General] [Added] - Added _image property to Avatar to expose the underlying image properties

Test Plan

I've been using the patch successfully to drive underlying image tinting based on a focus property. I'm happy to add automated tests if someone can point me in the right direction.

One area I'd question, and ask reviewsers to chime in on, is should the _image props allow override of all props provided by the avatar or are there some that should never be overiden? I.e. is {..._image} placed correctly in the props order on the Image tag.

@vercel
Copy link

vercel bot commented Jan 30, 2022

@kav is attempting to deploy a commit to the Geekyants Team Team on Vercel.

A member of the Team first needs to authorize it.

@kav kav changed the title Exposing underlying Image properties on Avatar via _image feat: Exposing underlying Image properties on Avatar via _image Feb 1, 2022
@kav
Copy link
Author

kav commented Feb 11, 2022

@intergalacticspacehighway @surajahmed or any other maintainer; any chance I could get a review or some notes on this one? Happy to open an issues as well if needed. I've got a few more coming and I'd love to sequence them if possible

@stale
Copy link

stale bot commented Apr 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Apr 13, 2022
@surajahmed
Copy link
Collaborator

@kav Thanks for working on this ❤️ !
We've already made these changes in version 3.4.0.

@stale stale bot removed the stale label Apr 13, 2022
@stale
Copy link

stale bot commented Jun 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants